<extend name="./Application/Common/View/block/base.php" />
<block name="header">
    <include file="./Application/Admin/View/block/easyui_header.php" />

</block>
<block name="bdoy">
    <body>
    <table border="0">
        <tr>
            <td align="right">阀门编码：</td>
            <td>
                <input class="easyui-textbox" value="{$fy['val_id']}" type="text" name="val_id"></input>
            </td>
            <td align="right">阀门名称：</td>
            <td>
                <input class="easyui-textbox" value="{$fy['val_name']}" type="text" name="val_name"></input>
            </td>
        </tr>
        <tr>
            <td align="right">阀门类型：</td>
            <td>
                <input class="easyui-textbox" value="{:val_typ($fy['val_typ'], false)}"></input>
            </td>
            <td align="right">生产厂家：</td>
            <td>
                <input class="easyui-textbox" value="{$fy['val_mfr']}" type="text" name="val_mfr"></input>
            </td>
        </tr>
        <tr>
            <td align="right">阀门型号：</td>
            <td>
                <input class="easyui-textbox" value="{$fy['val_model']}" type="text" name="val_model"></input>
            </td>
            <td align="right">阀门尺寸（厘米）：</td>
            <td>
                <input class="easyui-numberbox" value="{$fy['val_size']}" type="text" name="val_size" precision="3" style="width: 150px;"></input>
            </td>
        </tr>
        <tr>
            <td align="right">电机功率（千瓦）：</td>
            <td>
                <input class="easyui-numberbox" value="{$fy['val_motor_power']}" type="text" name="val_motor_power" precision="3" style="width: 150px;"></input>
            </td>
            <td align="right">阀门开启转向：</td>
            <td>
                <input type="text" value="{:val_orientation($fy['val_typ'], false)}" name="val_svc_dt" style="width:140px">
            </td>
        </tr>
        <tr>
            <td align="right">阀门开启转数：</td>
            <td>
                <input class="easyui-numberbox" value="{$fy['val_rotate_num']}" type="text" name="val_rotate_num" precision="1" style="width: 150px;"></input>
            </td>
            <td align="right">投运日期：</td>
            <td>
                <input class="easyui-textbox" type="text" value="{$fy['val_svc_dt']}" name="val_svc_dt" style="width:140px">
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <input type="hidden" id="val_img" name="val_img"/>
                <img src="{$fy['val_img']}" id="val_img_img" width="100" height="200">
            </td>
        </tr>
    </table>
    </body>
</block>
<block name="footExtendJs">
    <script>
        $('input').attr('readonly', 'true');
    </script>
</block>
